#pragma once
#include <string>
#include <iostream>
using namespace std;

class funcs
{
public:
	funcs(void)
	{}
	~funcs(void)
	{}
public:
	int x;
};

class func1 : public virtual funcs
{
public:
	func1(void)
	{}
	~func1(void)
	{}
public:
	void func()
	{

	}
};

class func2 : public virtual funcs
{
public:
	func2(void)
	{}
	~func2(void)
	{}
public:
	void func()
	{

	}
};

class test2 : public func1, public func2
{
public:
	test2(void)
	{}
	~test2(void)
	{}
public:
	void func()
	{
		cout<<"func()"<<endl;
	}
};